<?php
class Lion_View_Helper_BookingLink extends Zend_Controller_Action_Helper_Abstract
{
    private $_view;
	public function setView($view) {
		$this->_view = $view;
	}

	public function bookingLink($id,$text,$module='hotel', $param='hotelid')
    {
        $view = new Zend_View();        
        ?>
        <span class="tab2"><a href="/index/booking/mod/<?php echo $module; ?>/<?php echo $param; ?>/<?php echo $id; ?>"> <?php echo $text; ?></a></span>
        <?php
    }
}
?>